package com.stone.back.dish.entity;

import java.util.Date;

import com.stone.back.user.entity.BfUser;
import com.stone.common.util.DateUtil;

/**
 * 周菜单
 * @author Stone P
 */
public class BfWeekmenu implements java.io.Serializable {

	// Fields

	private Integer weekmenuid;
	private Date sellweek;
	private Float price;
	private String remark;
	private Date createdate;
	private Integer createuserid;
	private BfUser createuser;

	// Constructors

	/** default constructor */
	public BfWeekmenu() {
	}

	/** minimal constructor */
	public BfWeekmenu(Date sellweek, Float price, Date createdate, Integer createuserid) {
		this.sellweek = sellweek;
		this.price = price;
		this.createdate = createdate;
		this.createuserid = createuserid;
	}

	/** full constructor */
	public BfWeekmenu(Date sellweek, Float price, String remark, Date createdate, Integer createuserid) {
		this.sellweek = sellweek;
		this.price = price;
		this.createdate = createdate;
		this.createuserid = createuserid;
	}

	// Property accessors

	public Date getSellweek() {
		return this.sellweek;
	}

	public void setSellweek(Date sellweek) {
		this.sellweek = sellweek;
	}
	
    public String getSellweekStr() {
    	if(null == this.sellweek) {
    		return "";
    	} else {
    		return DateUtil.dateFormatStr(DateUtil.DATE_FORMAT, this.sellweek);
    	}
    }

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getWeekmenuid() {
		return weekmenuid;
	}

	public void setWeekmenuid(Integer weekmenuid) {
		this.weekmenuid = weekmenuid;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
	
    public String getCreatedateStr() {
    	if(null == this.createdate) {
    		return "";
    	} else {
    		return DateUtil.dateFormatStr(DateUtil.DATE_FORMAT, this.createdate);
    	}
    }

	public Integer getCreateuserid() {
		return createuserid;
	}

	public void setCreateuserid(Integer createuserid) {
		this.createuserid = createuserid;
	}

	public BfUser getCreateuser() {
		return createuser;
	}

	public void setCreateuser(BfUser createuser) {
		this.createuser = createuser;
	}
}